package com.itcanteen.medical.patient.mapper;

import com.itcanteen.medical.patient.entity.Doctor;
import com.itcanteen.medical.patient.entity.Patient;
import com.itcanteen.medical.patient.util.MyMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface DoctordMapper extends MyMapper<Doctor> {

    //根据id查询
    Doctor findById(@Param("id")Long id);

    //根据id查询医生
    List<Map<String,Object>> findList();

}
